<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>用户管理</title>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/frame/layui/css/layui.css">
<!--<link rel="stylesheet" href="http://cdn.datatables.net/1.10.13/css/jquery.dataTables.min.css">-->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/frame/static/css/style.css">
<link rel="icon"
	href="<%=request.getContextPath()%>/frame/static/image/code.png">
</head>
<body class="body">

	<iframe frameborder="no" border="0" marginwidth="0" marginheight="0"
		width=330 height=86 src="${song.src}"></iframe>

	<table class="layui-table">
		<colgroup>
			<col width="150">
			<col width="150">
			<col width="200">
			<col>
		</colgroup>

		<tr>
			<td>歌曲名称</td>
			<td>${song.songName }</td>
		</tr>


		<tr>
			<td>歌手</td>
			<td>${song.singer }</td>

		</tr>
		<tr>
			<td>时长</td>
			<td>${song.time }</td>

		</tr>
		<tr>
			<td>歌曲种类</td>
			<td><c:if test="${song.typeId== 1}">说唱</c:if> <c:if
					test="${song.typeId== 2}">摇滚</c:if> <c:if test="${song.typeId== 3}">流行</c:if>
				<c:if test="${song.typeId== 4}">民谣</c:if></td>

		</tr>
		<tr>
			<td>点击量</td>
			<td>${song.songCounts }</td>

		</tr>
		<tr>
			<td>上传时间</td>
			<td>${song.createTime }</td>

		</tr>
		<tr>
			<td>所属歌单</td>
			<td><c:forEach items="${lists }" var="lists">
        ${lists.listName }<br>
				</c:forEach></td>

		</tr>
		<tr>
			<td>歌曲路径</td>
			<td>${song.src }</td>

		</tr>
		
		


	</table>
	
	<a href="<%=request.getContextPath()%>/manager/toMSong" class="layui-btn" target="_blank">返回</a>

	<script type="text/javascript"
		src="<%=request.getContextPath()%>/frame/layui/layui.js"></script>
	<script type="text/javascript">
		// you code ...
	</script>
</body>
</html>